home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Camelot
/
Camelot 059 (1989-12)(Swedish User Group of Amiga)(SE)(PD)[WB].zip
/
Camelot 059 (1989-12)(Swedish User Group of Amiga)(SE)(PD)[WB].adf
/
Utils
/
tail.doc
< prev
next >
Wrap
Text File
|
1989-11-14
|
1KB
|
46 lines
TAIL(1) User manual TAIL(1)
1mNAME
0mtail - extract end of file
1mSYNOPSIS
tail 0m[ +/- [ number ] 1mlc 0m] [ file ]
1mDESCRIPTION
0m4mtail0m copies part of 4mfile0m (or standard input if none
specified) to standard output.
The first option specifies where to start copying, either at
line (or character) n (option is +4mn0m) or n lines (characters)
before the end (option is -4mn0m). 4ml0m specifies that units of
lines are used, 4mc0m means characters.
1mEXAMPLES
0mtail -3l glups
outputs the last 3 lines of file 4mglups0m.
list | tail +25c
prints all but the first 24 (output 1mstarts 0mat character 25)
characters of the output of 4mlist0m (with an apropriate
shell).
1mBUGS
0mTails relative to the end of the file are stored in a
buffer, which is allocated at run-time, and thus are limited
in length.
Lines longer than 255 characters will be split.
When only one argument is specified, it is assumed to be the
options.
-1-